package com.team.teamuserservice.service;

import com.team.teamuserservice.entity.dto.VehicleDTO;
import com.team.teamuserservice.entity.po.BizUserVehicle;
import com.baomidou.mybatisplus.extension.service.IService;
import com.team.teamuserservice.entity.vo.VehicleVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 用户车辆信息 服务类
 * </p>
 *
 * @author cxs
 * @since 2025-07-09
 */
public interface IBizUserVehicleService extends IService<BizUserVehicle> {


    /**
     * 添加车辆信息
     * @param brand
     * @param model
     * @param plateNumber
     * @param file
     * @param id
     * @return
     */
    Boolean addCar(String brand, String model, String plateNumber, MultipartFile file, Long id) throws Exception;

    /**
     * 查询车辆信息
     * @param id
     * @return
     */
    List<VehicleVO> select(Long id);
}
